<?php

namespace app\admin\model;

use app\admin\model\Common;

use think\Exception;

use think\facade\Db;



/**

 * 商品model

 * Class Goods

 * @package app\shop\model

 * @author Mr.Liu

 * @create 2021-09-15 15:01

 */

class ShopControls extends Common
{

    /**

     * 表名

     * @var string

     */

    //protected $pk = 'id';

    protected $name = 'shop_person_controls';
    // 定义时间戳字段名

    public function getControls(){
        return $this->where('status',1)->field('id as value,name as label')->select()->toArray();
    }









}

